/**
 * Created by Hannah on 2017/7/18.
 */
import React from 'react'
import ReactDom from 'react-dom'
import Home from './js/component/Home/Home'
import NewsConsult from './js/component/Home/NewsConsult'
import SignUp from './js/component/Home/SignUp'
import SignIn from './js/component/Home/SignIn'
import Question from './js/component/Home/Question'
import Main from './js/component/Home/Main'
import ExamDetail from './js/component/Home/ExamDetail'
import ChangePwd from './js/component/Home/ChangePwd'
import {Router, Route, hashHistory} from 'react-router'


ReactDom.render(
    <Router history={hashHistory}>
        <Route path="/" component={Home}/>
        <Route path="/NewsConsult" component={NewsConsult}/>
        <Route path="/SignUp" component={SignUp}/>
        <Route path="/SignIn" component={SignIn}/>
        <Route path="/Question" component={Question}/>
        <Route path="/Main" component={Main}/>
         <Route path="/ChangePwd" component={ChangePwd}/>
        <Route path="/ExamDetail/:exam_id" component={ExamDetail}/>
    </Router>,
    document.getElementById('app')
);